package cn.zyl.common.redis.command;


/**
 * MiniRedisForSet 枚举说明: redis命令类型：set-集合
 * <pre>
 *     允许模糊查询key　　有3个通配符  *、?、[]
 * </pre>
 *
 * @author wsz
 * @version v1.0
 * @date 2020-08-10
 */
public enum MiniRedisForSet implements MiniRedisCommands {
    /** */
    S_ADD,
    /** */
    S_CARD,
    /** */
    S_DIFF,
    /** */
    S_DIFF_STORE,
    /** */
    S_INTER,
    /** */
    S_INTER_STORE,
    /** */
    SIS_MEMBER,
    /** */
    S_MEMBERS,
    /** */
    S_MOVE,
    /** */
    S_POP,
    /** */
    S_RAND_MEMBER,
    /** */
    S_REM,
    /** */
    S_UNION,
    /** */
    S_UNION_STORE,
    /** */
    S_SCAN
    ;
    MiniRedisForSet(){raw = encode(name());}
    private final byte[] raw;
    @Override
    public byte[] getRaw() { return raw; }
}
